package com.copm.demonstrationsystem.dao.introductionfeatures;

import com.copm.demonstrationsystem.pojo.introductionfeatures.FacilityPage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

/**
 * @Author: Yuan Baiyu
 * @Date: Created in 16:36 2018/5/4
 */
@Repository
public interface FacilityPageDao extends JpaRepository<FacilityPage, Long> {

    @Query(value = "SELECT * FROM facility_page ", nativeQuery = true)
    FacilityPage findPage();

}
